热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

错误|[iOS]文件模式:`source_files`模式与任何文件都不匹配

如何解决《错误|[iOS]文件模式:`source_files`模式与任何文件都不匹配》经验,为你挑选了1个好方法。

我将我的现有库重命名为github,我改变了一切,除了现在没有验证我的库之外,其他工作正常 - pod spec lint KJCircularSlider.podspec for trunk push.我检查了我的文件夹结构,它看起来很完美,任何人都可以帮助我实际的问题是什么?
如果你想检查文件夹结构,这是我的库 - KJCircularSlider

这是我的podspec文件.

Pod::Spec.new do |s|
  s.name             = 'KJCircularSlider'
  s.version          = '0.1.0'
  s.summary          = 'Circular slider - to slide from 0 to 100 in circular shape'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
It's circular slider, It provides circular shape to slide around from 0 to 100 percent, You can use it when you required a circular shape on slider rather than traditional iOS line shape slider.
                       DESC

  s.homepage         = 'https://github.com/KiranJasvanee/KJCircularSlider'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Kiran Jasvanee' => 'kiran.jasvanee@yahoo.com' }
  s.source           = { :git => 'https://github.com/KiranJasvanee/KJCircularSlider.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/KiranJasvanee'

  s.ios.deployment_target = '9.0'

  s.source_files = 'Classes/**/*'

  # s.resource_bundles = {
  #   'KJCircularSlider' => ['KJCircularSlider/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end

Kiran Jasvan.. 8

我通过改变version number我的吊舱解决了我的问题.
我已将我的KJCurveSlider库重命名为KJCircularSlider,因为库中的重大更改我将无法使用它pod trunk push.我经常收到,当我试图使用验证以下的错误pod spec lint library.podspec,但我不得不提的完美路径s.source_filespodspec
- ERROR | [iOS] file patterns: TheSOURCE_FILES pattern did not match any file.
从此我更新的版本0.1.00.2.0,它成功验证



1> Kiran Jasvan..:

我通过改变version number我的吊舱解决了我的问题.
我已将我的KJCurveSlider库重命名为KJCircularSlider,因为库中的重大更改我将无法使用它pod trunk push.我经常收到,当我试图使用验证以下的错误pod spec lint library.podspec,但我不得不提的完美路径s.source_filespodspec
- ERROR | [iOS] file patterns: TheSOURCE_FILES pattern did not match any file.
从此我更新的版本0.1.00.2.0,它成功验证


也为我工作。
推荐阅读
author-avatar
千片叶
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有